package cn.caplike.demo.spring.bean.lifecycle.bean.post.processor;

import org.springframework.stereotype.Component;

/**
 * @author LiKe
 * @version 1.0.0
 * @date 2020-03-31 16:27
 */
@Component
public class Book {

    private String bookName;

    public Book() {
        System.out.println("Constructor of Book called!");
    }

    public Book(String bookName) {
        this.bookName = bookName;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }
}
